home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / cellgame.swf / scripts / frame_2 / PlaceObject2_9_4 / CLIPACTIONRECORD onClipEvent(load).as < prev    next >
Encoding:
Text File  |  2006-06-13  |  349 b   |  12 lines

  1. onClipEvent(load){
  2.    if(_name != "shot")
  3.    {
  4.       _root.actions.totalShots = _root.actions.totalShots + 1;
  5.       shotTime = getTimer();
  6.       _X = _root.actions.tipx1;
  7.       _Y = _root.actions.tipy1;
  8.       xSpeed = _root.actions.shotXspeed + _root.actions.xSpeed;
  9.       ySpeed = _root.actions.shotYspeed + _root.actions.ySpeed;
  10.    }
  11. }
  12.